package fun.chutianshu;

public class Main {

    public static void main(String[] args) {
	// write your code here
        Student xiaoming=new Student(19,"小明",88);
        xiaoming.setScore(99);
        Person p1= xiaoming;
        Person p0 = new Person(20,"小白");

        Person pArray[]=new Person[2];
        pArray[0]=p0;
        pArray[1]=p1;

        for (Person p:pArray) {
            p.run();
        }

    }
}
